package org.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.demo.entity.Appointments;
import org.demo.entity.AppointmentsDto;
import org.demo.entity.PageBean;

import java.util.List;

public interface IAppointmentsService extends IService<Appointments> {
    void add(Appointments appointments);

    List<Appointments> list (Appointments appointments);

    void updateAppointmentStatusOk(Appointments appointmentId);

    void delete(String id);

    PageBean<AppointmentsDto> Pagelist(Integer pageNum, Integer pageSize, AppointmentsDto appointmentsDto);
}
